<?php
/**
 * Created by PhpStorm.
 * User: qingyun
 * Date: 19/5/8
 * Time: 下午2:10
 */


include_once './vendor/autoload.php';


$m = new \Medoo\Medoo([
    'database_type' => 'mysql',
    'database_name' => 'php',
    'server' => 'localhost',
    'username' => 'root',
    'password' => '123456'
]);


//var_dump($m->insert('user', ['name'=>'二哈', 'age'=>11, 'score'=>99]));

print_r($m->select('user', '*',['id[>]'=>1]));




